home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Carousel Volume 2 #1
/
carousel.iso
/
mactosh
/
hc
/
timebill.sit
/
Job Summary
/
background_2627.txt
< prev
next >
Wrap
Text File
|
1988-01-29
|
9KB
|
431 lines
-- background: 2627 from stack: in
-- bmap block id: 2368
-- flags: 4000
-- background id: 0
-- name: Job Summary
----- HyperTalk script -----
-- part 16 (button)
-- low flags: 00
-- high flags: A004
-- rect: left=141 top=4 right=23 bottom=245
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 2
-- text size: 10
-- style flags: 8192
-- line height: 13
-- part name: Summarize
----- HyperTalk script -----
on mouseUp
summarize
end mouseUp
-- part 29 (field)
-- low flags: 00
-- high flags: 0002
-- rect: left=316 top=6 right=21 bottom=383
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 8448
-- line height: 14
-- part name: Sumcode
-- part 41 (field)
-- low flags: 01
-- high flags: 6002
-- rect: left=12 top=49 right=283 bottom=89
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 10
-- style flags: 8192
-- line height: 11
-- part name: Person
-- part 43 (field)
-- low flags: 01
-- high flags: 0000
-- rect: left=393 top=312 right=329 bottom=490
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 8448
-- line height: 16
-- part name: Summarytotal
-- part 44 (field)
-- low flags: 01
-- high flags: 0000
-- rect: left=431 top=6 right=21 bottom=503
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 8192
-- line height: 14
-- part name: sumdate
-- part 45 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=386 top=291 right=308 bottom=456
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 8448
-- line height: 16
-- part name: Totalhours
-- part 46 (button)
-- low flags: 00
-- high flags: A004
-- rect: left=14 top=288 right=310 bottom=183
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 2
-- text size: 10
-- style flags: 8192
-- line height: 13
-- part name: To Timesheet/Expenses
----- HyperTalk script -----
on mouseUp
if the optionKey is down then
go stack "Expenses"
exit mouseUp
end if
go to stack "time sheet"
end mouseUp
-- part 47 (button)
-- low flags: 00
-- high flags: A004
-- rect: left=186 top=288 right=310 bottom=284
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 2
-- text size: 10
-- style flags: 8192
-- line height: 13
-- part name: New/Delete
----- HyperTalk script -----
on mouseUp
if the optionKey is down then
Answer "Are you sure you want to delete?" with "Yes" or "Cancel"
if it = "Yes" then doMenu "Delete card"
exit mouseUp
end if
doMenu "New Card"
end mouseUp
-- part 49 (button)
-- low flags: 00
-- high flags: A004
-- rect: left=14 top=312 right=334 bottom=171
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 2
-- text size: 10
-- style flags: 8192
-- line height: 13
-- part name: Print Summary/Report
----- HyperTalk script -----
on mouseUp
if the optionKey is down then
doMenu "page setup..."
doMenu "print report..."
exit mouseUp
end if
push card
doMenu "page setup..."
set lockScreen to true
put field "sumcode" into printCode
put field "sumdate" into printCode2
repeat while field "sumcode" = printcode and field "sumdate" = printcode2
doMenu "print card"
go next card
if the short name of this card = "rate scheme" then
pop card
exit mouseUp
end if
end repeat
pop card
end mouseUp
-- part 50 (field)
-- low flags: 01
-- high flags: 6002
-- rect: left=91 top=49 right=283 bottom=154
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 10
-- style flags: 8192
-- line height: 11
-- part name: Week
-- part 51 (field)
-- low flags: 01
-- high flags: 6002
-- rect: left=156 top=49 right=283 bottom=185
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 10
-- style flags: 8192
-- line height: 11
-- part name: Activity
-- part 53 (field)
-- low flags: 00
-- high flags: 6002
-- rect: left=187 top=49 right=283 bottom=228
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 10
-- style flags: 8192
-- line height: 11
-- part name: Hours
-- part 55 (field)
-- low flags: 01
-- high flags: 6002
-- rect: left=230 top=49 right=283 bottom=291
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 65535
-- font id: 3
-- text size: 10
-- style flags: 8192
-- line height: 11
-- part name: Total$
-- part 57 (field)
-- low flags: 01
-- high flags: 6002
-- rect: left=292 top=49 right=283 bottom=498
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 10
-- style flags: 8192
-- line height: 11
-- part name: Desc.
-- part 59 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=114 top=3 right=25 bottom=135
-- title width / last selected line: 0
-- icon id / first selected line: 21847 / 21847
-- text alignment: 1
-- font id: 2
-- text size: 10
-- style flags: 8192
-- line height: 13
-- part name: Home
----- HyperTalk script -----
on mouseUp
visual effect iris close
go "home"
end mouseUp
-- part 60 (button)
-- low flags: 00
-- high flags: A004
-- rect: left=174 top=312 right=334 bottom=284
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 2
-- text size: 10
-- style flags: 8192
-- line height: 13
-- part name: Adjust Rates
----- HyperTalk script -----
on mouseUp
push card
go card "Rate Scheme"
end mouseUp
-- part 61 (button)
-- low flags: 00
-- high flags: 2000
-- rect: left=231 top=8 right=22 bottom=244
-- title width / last selected line: 0
-- icon id / first selected line: 26635 / 26635
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Question
----- HyperTalk script -----
on mouseDown
put "w/SHIFT:Time OR Expense only.w/OPTION: Adjust summary dates."
end mouseDown
on mouseUp
hide message box
end mouseUp
-- part 62 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=1 top=321 right=341 bottom=13
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: prev
----- HyperTalk script -----
on mouseUp
visual effect wipe right
go prev card of this background
push recent card
end mouseUp
-- part 63 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=498 top=319 right=342 bottom=512
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: next
----- HyperTalk script -----
on mouseUp
visual effect wipe left
go next card of this background
push recent card
end mouseUp
-- part 65 (field)
-- low flags: 80
-- high flags: 2004
-- rect: left=117 top=92 right=255 bottom=404
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 2
-- text size: 14
-- style flags: 768
-- line height: 18
-- part name: credits
-- part 66 (field)
-- low flags: 80
-- high flags: 2001
-- rect: left=158 top=106 right=250 bottom=369
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 2
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: credits2
-- part 67 (button)
-- low flags: 00
-- high flags: 2000
-- rect: left=258 top=8 right=20 bottom=312
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: find in client info
----- HyperTalk script -----
on mouseUp
if field "sumcode" is empty then
ask "Find a specific code?"
put it into field "sumcode"
end if
set lockScreen to true
put field "sumcode" into clientFind
push card
go stack "client info"
find clientFind in field "assignedcode"
if the result is "not found" then
beep
answer "No such code in client info." with "I'll look" or "Try again" or "Cancel"
if it = "I'll look" then exit mouseUp
pop card
if it = "try again" then
send mouseUp to background button "find in client info"
end if
end if
end mouseUp